//pinia-image-processed-item
interface LeftAndRightImage {
  originalPath: string;
  [key: string]: string | null;
}
interface ProcessedImageItem {
  leftImage: LeftAndRightImage;
  rightImage: LeftAndRightImage;
  leftDiseaseResult: string[];
  rightDiseaseResult: string[];
  leftConfidence: number[];
  rightConfidence: number[];
  processedImgPaths: string[];
}
//pinia-disease(name+count)
interface DiseaseCase {
  disease: string;
  count: number;
}
//pinia-image-store-state
interface ImageStoreState {
  images: File[];
  cases: DiseaseCase[];
  processedImages: ProcessedImageItem[];
}

//patient-confidence-fetch
interface PatientConfidence {
  左眼: string[];
  右眼: string[];
}

//patient-report-get-fetch-reports
interface PatientAllReports {
  createTime: string;
  format: "PDF" | "PNG" | "HTML";
  id: number;
  language: "ZH" | "EN";
  recordId: number;
  reportContent: string;
  selectedFormat: "PDF" | "PNG" | "HTML" | null;
}

export {
  ProcessedImageItem,
  DiseaseCase,
  ImageStoreState,
  PatientConfidence,
  PatientAllReports,
};
